//
//  onNetwork.h
//  10-10
//
//  Created by 钟纪旺 on 16/11/15.
//  Copyright © 2016年 zjw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LoginData.h"

typedef void(^RequestCallBack)(NSDictionary *dic);

@interface Network : NSObject

+ (void)loginWithName:(NSString *)name password:(NSString *)password complete:(void (^)(LoginData *d))handle;

+ (void)loginWithName:(NSString *)name password:(NSString *)password tel:(NSString *)tel complete:(void(^)(LoginData *d))handle;


+ (void)loginWithName:(NSString *)name password:(NSString *)password completeCallBack:(RequestCallBack)block;


@end
